package com.power.sifa.aop.api;

import com.plf.common.domain.ResponseDTO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

public interface SMFeign {

    @PostMapping("/sm/decrypt")
    ResponseDTO decrypt(@RequestBody String text);

    @PostMapping("/sm/encrypt")
    ResponseDTO encrypt(@RequestBody String text);

    @PostMapping("/sm/key")
    ResponseDTO getKey();

    @PostMapping("/sm/cardno")
    void testCardNoIndex();

}
